<include file="Public/header" />
<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
      <h3>同乡会管理</h3>
      <ul class="tab-base">
        <li><a href="JavaScript:void(0);" class="current"><span>管理</span></a></li>
        <!-- <li><a href="{:U('Billboards/add')}"><span>添加</span></a></li> -->
      </ul>
    </div>
  </div>
  <div class="fixed-empty"></div>
  <!-- 广告查询 -->
  <form method="get" name="formSearch">
    <table class="tb-type1 noborder search">
      <tbody>
        <tr>
          <th>名称</th>
          <td><input type="text" value="{$search['name']}" name="name" class="txt"></td>
          <th>状态</th>
          <td>
            <select name="status">
              <option value="0" <if condition="$search['status'] eq 0"> selected </if>>审核中</option>
              <option value="1"<if condition="$search['status'] eq 1"> selected </if>>审核通过</option>
              <option value="-1"<if condition="$search['status'] eq -1"> selected </if>>审核被拒</option>
            </select>
          </td>
          <td><a href="javascript:document.formSearch.submit();" class="btn-search tooltip" title="查询">&nbsp;</a></td>
        </tr>
      </tbody>
    </table>
  </form>
  <table class="table tb-type2" id="prompt">
    <tbody>
      <tr class="space odd">
        <th colspan="12">
        	<div class="title">
	            <h5>操作提示</h5>
	            <span class="arrow"></span>
            </div>
        </th>
      </tr>
      <tr>
      	<td>
      		<ul>
      			<li>
            <!-- 可以对同乡会进行查询，进行编辑等操作 -->
            </li>
      		</ul>
      	</td>
      </tr>
    </tbody>
  </table>
  <form method='post' id="form_rec"> 
    <table class="table tb-type2 nobdb">
      <thead>
        <tr class="thead">
         <!--  <th>&nbsp;</th> -->
          <th>名称</th>
          <th>描述</th>
          <th class="align-center">操作</th>
        </tr>
      </thead>
      <tbody>
        <notempty name="list">
        <volist name="list" id="v">
        <tr class="hover edit">
       <!--    <td class="w24"><input type="checkbox" name="del_id[]" value="{$v['id']}" class="checkitem"></td> -->
          <td>{$v['title']}</td>
          <td>
          {$v['des']}
          </td>
          <td class="w48 align-center">
          	<a href="{:U('HometownManager/query',array('id'=>$v['aid']))}">查看</a>
          </td>
        </tr>
        </volist>
        <else/>
        <tr class="no_data">
          <td colspan="10">暂无记录</td>
        </tr>
         </notempty>
      </tbody>
      <!-- <tfoot>
        <notempty name="list">
        <tr class="tfoot" id="dataFuncs">
          <td><input type="checkbox" class="checkall" id="checkallBottom"></td>
          <td colspan="16" id="batchAction">
          	<label for="checkallBottom">全选</label>
            &nbsp;&nbsp; 
            <a href="JavaScript:void(0);" class="btn" onclick="javascript:submit_delete_batch();"><span>删除</span></a>
            <div class="pagination">{$show_page}</div></td>
        </tr>
      </tfoot> -->
       </notempty>
    </table>
  </form>
</div>
<script type="text/javascript">
function submit_delete_batch(id)
{
    if(confirm('确定要进行此操作?')) 
	{
        $('#form_rec').submit();
    }
}
</script>
<include file="Public/footer" />